# $Id: PKGBUILD 82467 2013-01-18 15:47:09Z fyan $
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Jeff Mickey <jeff@archlinux.org>

pkgname=tcpflow
pkgver=1.3.0
pkgrel=1
pkgdesc="Captures data transmitted as part of TCP connections then stores the data conveniently"
arch=('i686' 'x86_64')
url="http://afflib.org/software/tcpflow"
license=('GPL')
depends=('gcc-libs' 'libpcap' 'zlib')
source=("https://github.com/simsong/$pkgname/archive/$pkgname-$pkgver.tar.gz")

build() {
  cd "$srcdir/$pkgname-$pkgname-$pkgver"
  sh bootstrap.sh
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}

md5sums=('446be6d852bc7ddd0a8d5149f2bddb60')
